package config

type BodyChoose int

const (
	BodyForm BodyChoose = iota
	BodyJson
	BodyString
)

type ParamType int

const (
	TypeString ParamType = iota
	TypeInt
	TypeFloat
	TypeBool
	TypeStringArr
	TypeIntArr
	TypeFloatArr
	TypeBoolArr
)

// 添加字段中文解释
var ParamTypeMap = map[ParamType]string{
	TypeString:    "字符串",
	TypeInt:       "整数",
	TypeFloat:     "浮点数",
	TypeBool:      "布尔值",
	TypeStringArr: "字符串数组",
	TypeIntArr:    "整数数组",
	TypeFloatArr:  "浮点数数组",
	TypeBoolArr:   "布尔值数组",
}
